<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>title</title>
</head>

<script type=module>
  // import * as cheerio from 'https://cdn.skypack.dev/cheerio';
  // console.log("cheerio: ", cheerio);

  import('https://cdn.skypack.dev/cheerio').then(cheerio => {
    console.log("cheerio: ", cheerio);
  }).catch(err => {
    console.log("解析 cheerio 错误: ", err);
  });

  // const $ = cheerio.load('<div>MY HTML</div>');
  // console.log("$: ", $.text());
</script>

</html>